package com.xwqiang.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.xwqiang.pojo.model.SysPerm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysPermMapper extends MPJBaseMapper<SysPerm> {
    List<String> getSysUserPerms(@Param("userId") Integer userId);

    List<String> getPermsAll();
}
